package com.atguigu.userprofile.dao;

import com.atguigu.userprofile.bean.TagInfo;
import com.atguigu.userprofile.util.MySQLUtil;

public class TagInfoDAO {
    public static TagInfo getTagInfoByTaskId(String taskId){
        String sql = "select * from tag_info where tag_task_id= '" + taskId + "' ";
        TagInfo tagInfo = MySQLUtil.queryOne(sql, TagInfo.class, true);
        return tagInfo;
    }
}
